package com.gdut.gulimall.auth.feign;

import com.gdut.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author Drifiter
 * @create 2021-10-11 20:17
 */
@FeignClient("gulimall-third-party")
public interface ThirdPartFeignService {

    @GetMapping("/sms/sendcode")
    public R sendCode(@RequestParam("mobile")String mobilde, @RequestParam("code")String code);

}
